package com.atguigu.yygh.user.client;

import com.atgui.yygh.model.user.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * zz: wzh
 * time 2022 09 11 10 29
 **/
@Repository
@FeignClient(value = "user-client")
public interface PatientFeignClient {

    //根据就诊人id获取信息
    @GetMapping("/api/user/patient/inner/get/{id}")
    public Patient getPatientOrder(@PathVariable("id") Long id);
}
